|
|
<DIV id=list>2 u" {0 a( L6 W: m7 S$ K" t
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>8 Q" e+ j+ W% u5 M) O
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>9 i' Q+ U3 Z* ?: u* Y l
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>: p% K7 L! u: s- p1 @" J& C2 }6 J: w
<DIV id=lrc3 style="COLOR: #666666"></DIV>- G: a# H1 F' V; u8 \& n8 C
<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>4 o$ `( w% x+ G, K6 k! e8 E; O
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV> r" z& Y3 l2 {" X! a
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
) B+ C. p" f; P! R) u: D<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>4 n' \$ Z5 C. s o
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>2 L2 @" }$ D: R; I0 Q: F) p: W4 e5 x
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
: O2 g4 u' x$ z$ P% g4 A, n<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
! B: w' e) b Q+ |' i+ C) {) s<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>+ ~. L5 T0 H1 k" U- m6 D. k
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
- y: i1 k* M/ A7 w9 o( m9 u0 h: i1 ?<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
) w& t4 {" g/ k% T<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
1 u8 d" D5 z, q9 g3 W6 i" G<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>4 V! N+ r4 S7 D
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>+ n* I! ]6 H9 K3 N/ J
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>: b' V$ e! Q. a a$ ^ f
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
" n; ]6 z A4 w<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>1 a; t0 @5 U \+ o: k
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
, \7 }4 S) H1 |0 W2 h! L<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>: f8 D: z; R. W/ C0 U. r$ |, `! \) p' e
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
}" g: {: Z, X: B: m1 N<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
4 S5 ^! V% D" t- X$ y<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
7 F7 H' M( G) Z( _' q, m) B3 u<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>" [3 q1 J$ d% |; c1 s/ w, \' g* U
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
3 ]' d& I9 J1 b7 _& A; s<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
4 v; G! @: T- m4 C<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>+ p9 P! I2 Z* S8 q" m% u* L
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>; B) S$ ^. j9 A" |8 Y
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>8 X5 {3 O- m' D- A* [
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
/ A6 B7 u# Y6 l% P, b<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
% z! Y. ^( b; E+ A8 `% }<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>0 M4 Q( O$ w' y/ i9 D6 {0 X6 u$ F
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>5 p2 l/ ?; r5 ?6 q1 ?
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
: F) }5 S$ f( T* ]& h<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>2 M# ^& P: p0 Y* |
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
4 ^" E) R1 \; G9 z- y<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>. | o4 T* q7 p: t+ J. R! i$ _
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>/ |, t5 \' t7 ?' v# ?
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>* y4 W: i, a( H" N
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>6 Q' M. ~& h( ~0 C" \% l$ p' u
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
/ o% F7 u7 ?: h# O: X5 L<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
+ x9 _- l( g; \+ |) N<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
$ a/ n5 D) B: W4 m, x0 Q& o<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV> L/ _3 D2 }% Z& ~- g9 [
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>6 ?0 Q- s$ ]5 v8 b
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
2 F: a/ e/ V( @# m* N) B<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>$ h. d) l4 \: F3 G- \
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV># |! I$ l2 g5 ^8 z( l: h
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>6 h" R7 d/ i* w* }3 J! ?6 E" [. }
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>
7 ], _! A& o. \& p# H$ N<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
* x" h4 |& o2 k6 b! {" T1 P<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
* k% F0 b5 W* ?6 t<DIV id=lrc style="DISPLAY: none"></DIV>; g5 V3 k* m& Q$ ^- T) ]; n b
<SCRIPT type=text/javascript>( n5 |' Z, _2 i) c, W
document.domain="1ting.com";
H: ^5 e+ b! A/ gvar colorPasted="#666666";& I* f |0 y6 n
var colorPlaying="#ff3300";$ z" T! \4 r/ V6 X% B. ^/ r
var colorNormal="#000000";; q3 z! A" m; u" j5 {' s/ {# {: z
$ = function (a,g){6 {9 x# L$ q- q
var o = new Array(); , Y6 M' q" N& P4 m) F2 s- e* u
var c = new Array(); ( [7 N) x, |% m
var r;
% |8 J8 j3 p! h5 E$ a1 r var u; 5 |+ }( g+ [- r. E7 i" t
var a = a.split(';');
! n4 o; N' c, \$ P
& y- f8 x4 P% {3 t- j var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");8 b+ i7 p5 P2 R
for(var i=0;i<e.length;i++){; o* F4 ]: o1 Y9 o9 I$ p
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")& v& w( Y! J f9 l6 A# c* j! h) h: @
}
+ E0 K% ^8 X7 h% ?% k; i! g/ [( k+ D% V% W" ~$ j
after = function (t,d,s){
- E$ n. T. n1 u5 `0 e7 h $after = function (){
- [' J, j e/ V# G/ k- Y) u6 f var $n=document.createElement(t);' }. K* l+ l8 ^$ i4 v5 R( |5 [& v
if(d!=null){
7 E( E1 H% ?/ P* b8 w $n.id=d;
' c! ^1 j- F8 C$ x# t J( J }
$ K( J4 R9 k1 Y- C, g# K
3 D7 h$ w+ l9 A5 b/ `1 l$ b0 P/ a u.insertBefore($n,null)
4 G( h# i* s, Z) G r = $n; , [1 g5 I. D+ |7 g' W
u = $n;
$ M2 H8 b) o( _ }
0 z- i! n& q3 a _! x0 Q5 M $for(s,"$after")! s0 B0 T! d$ p4 t
}: i" v# f2 b. K! O9 M3 N
3 V$ Y& Y6 {# Z W( x
show = function (s){
0 L: a8 p& U) W, Z $show = function (){8 \7 O+ i" ~1 ?& \3 ^
u.style.display!="none" ? style("display:none") : style("display:block") ;1 I% O: t, V! r, j* @
}
3 F# W7 J7 N4 q2 P $for(s,"$show")! Y/ i$ p9 W1 W" x/ z) K6 a
}
" K6 A! v8 N; m3 j( ~& V# K; x2 V; ^/ T6 N
check = function (t,s){
! Q# {0 |3 y9 ?) |1 U0 H1 p2 i# [ $check = function (){8 O4 c0 \1 F0 B! @
if(t=="2"){+ P& }' \# P2 H
if(u.checked){8 W5 b" c$ ?% J& x$ t
u.checked = false;
3 d% `- ~9 y" p9 N/ z }else{7 O: | L0 O. u2 v4 i
u.checked = true; \' h# }8 r! _; j {( [
}' W" D6 V9 T0 |, @* T" m# ?
}else{, b1 V; L1 g% [% R- N
u.checked = t*1 ;5 v) J, c$ t% X& i f
}
" a% D5 L3 h; k }( W1 L4 `% w9 l2 E& @% C5 S/ F6 G# a0 A# l8 Q
$for(s,"$check")
' D/ A6 s, w1 y6 {6 C }
% j* h5 \" g; \% a' A5 A* U2 p! `/ Q6 A( ]7 j( Q% h
style = function (v,s){
# V* O( F" o+ u+ j $style = function (){& n2 \: I4 \7 C+ \9 b9 l
var $n = v.split(",") $ b7 q* t" W* M6 I. t3 x. t: H
for (var i=0;i<$n.length;i++ ){3 G( h' U# @4 e/ Q
var $m = $n<i>.split(":") 1 C0 S, y. w5 D" @* {
eval("u.style."+$m[0]+"='"+$m[1]+"'");# }5 f3 c! D7 E$ L; P, ]* `
}3 e8 k+ I8 X1 c6 O, n/ o
}
5 H5 w. j f5 `# @ $for(s,"$style")
. f; V& |. e0 G9 u }
* e9 {0 z2 ?0 j1 j% @2 x7 T( ]6 G5 D" L: ?% b S" H: D
value = function (v,s){
3 Y% z3 k0 U9 c6 P+ J$ x5 Q% J6 j0 a+ M var $n= $this (v);% Z# q9 U1 ~6 G- w3 y6 G7 r$ D
$value = function (){
) U* ]6 m$ ?+ I% G" _" M& r/ g! ~ u.value = $n( U: N. ^, a0 H2 |. N2 z$ N
}! a2 E1 [& z1 |5 C) Y' ~$ b- L
$for(s,"$value") 8 e9 `4 w0 \9 X# e) |. P
}6 Z5 S/ O2 P8 Q9 v( m
- T" Z9 S1 c. L3 z$ h" y0 m. I text = function (v,s){7 X9 Q2 h' J% v0 j
var $n= $this (v);
/ y( G: x* T/ R) X& m$ [ $text = function (){
$ y# [3 ?1 D0 l# H " ^, \" N9 r* P. O
u.text = $n2 l" L' r3 W" F9 o5 t4 ~
}' H% u4 |% i, L* y
$for(s,"$text")
- X3 Z& x' j6 f }# L8 ?5 s7 T1 Q6 W& n8 a# o2 Q
* g2 [3 U4 t" I8 ^
innerhtml = function (v,s){% b& z, L. a/ G# U( E
var $n= $this (v);& H8 t! @, Q0 g/ V' E
$innerhtml = function (){
/ K+ _, x L, Q6 o; }4 W% g' G u.innerHTML = $n6 d; v% v) b2 U
}3 p3 B) {: x- p$ K
$for(s,"$innerhtml")! r2 `) {" A" K' P, S* Z* s
}
% A0 l' o( M) w# s7 B 3 h7 R" i9 o$ O4 l
removechild = function (s){) X$ V. e* `0 ~8 q% r; O: l. s5 \
$removechild = function (){1 u- N8 E, V) o) J0 ]; z8 P+ i* u
u.parentNode.removeChild(u)
5 K9 M" z0 v4 Y3 k }4 l- ]# m. U3 P+ ^+ D$ m6 S" T4 d
$for(s,"$removechild")
7 i ]& K( Y1 B0 e }9 e3 q7 N8 O5 `" ]& E
8 s1 W6 R' M7 m. ~* E4 X7 g$ X
$this =function(v){
' }7 D" x' a I if(v.indexOf("this") == 0){
# D; ?, i( q' f2 O( e% |/ N return eval(v.replace("this","u"))
! f9 W( ^# _0 T+ K* ?3 `- W6 c }
6 N& ]8 f( B: Z" ?. X return v;
" s Q; W0 ?' p+ Y( \* M2 Y0 @' G }
3 _/ g' P4 ]. S& Z1 H: d& {8 A& j, c( f
$event = function (s){
4 x2 `2 I" k5 Z1 t% \ var $n ="u."+s+" = function(){$work(this,s);}"; {8 ?2 `7 ]+ @
return $n;
4 Y& v6 w4 D$ N }
: e( G) Q4 w0 ~' m4 f1 Q- w) K$ k' Q0 ^
$replace = function (s){/ E5 a6 Q. F- t2 P% J
( o+ Q9 S7 H" D0 G: ^8 p
}
: O3 t# x [! b2 n$ d$ K
# G. p% ~6 ^' `/ \ $for = function (s,c){
) I, [9 d# k" e# X1 J/ U' @ var $n="this."+c+"()" ;
0 U) x+ X/ K/ i' A) v( M if(s!=null){
& u4 L7 {, ?9 \* _. B var $m =$test(s);
) M4 E9 S- T9 D$ S6 ]9 X1 r for (var i=0;i<$m.length ;i++ ){7 u& ]( U3 W, X% I6 k6 A
u = $m<i>;
2 F5 P6 ~& z9 w+ Y- _- a) ` eval($n);; V& F* \8 {8 n) e
}
. v* M' ~5 e8 Q( {5 \. T }
! F2 N' X% t L# T) `3 @& g! o else{/ |% O$ G- z6 K1 j* N# f
eval($n);
; A0 c! y$ Z/ _ }0 g& I0 y5 @) z. O& Q# c. L- b
}& S0 v& k1 m! t2 e" j8 {6 Z3 e# A
" ~0 I& W3 G' ]! p' v: M $test = function (a){
( Q/ Q- M; R3 M0 ^9 V# e var o = new Array();$o(a.split(';'),o);
7 N6 m7 _/ L6 H, t' h6 L return o;
& @" S# x7 a/ p$ K/ |' n7 N }* ^ I9 ?/ i+ }
6 ?# R. r, t0 h+ _
$format = function(s){7 K# `- o, u3 R7 D9 D
while (s.indexOf("'")>0){. `5 s/ K3 J( L& }0 S% V
s=s.replace("'","\"");3 O/ v* D6 E q* _$ K. R2 O$ s c- [7 p% t
}
& ~+ G/ V, ]2 x while (s.indexOf("][")>0){" T" M" ?/ T8 ^2 I
s=s.replace("][","','")) c/ d+ a- v3 @- h
}% C5 q$ K8 @; ?
while (s.indexOf("[")>0){0 J7 i$ i" {1 G- Z/ ~
s=s.replace("[","'").replace("]","'")$ V- \% Z+ r& n5 R2 h5 `8 v* P
}
) n- o- z$ W! i, @: a return s;
- Z/ @4 |' j; s9 Q5 b }9 l4 {5 q! L5 j M, _
4 e( f1 H5 A' l) r/ S* i& S
$work = function(w,s){
. t& r/ N5 R% z: b u=w;eval(s); n0 j2 ?( |- q# R6 s% U/ _
}
! i2 }1 K$ N% ]' l8 W
0 ]. _5 ^5 o5 Z+ Z. p $id = function (s){
1 A; N h( b5 m return document.getElementById(s);
6 u$ G# o4 E E- ^5 x0 m* l( @ }
- [$ c6 J2 p6 N$ o& w) w& K0 Z# u2 k7 ~
$name = function (s){
8 s# B9 N( f. I6 j; `0 j3 L return document.getElementsByName(s);
/ K" s4 t# L F/ @ Y( Q4 F }
2 Y4 m5 K! u; C3 C7 a c) Q% g+ Q- ^5 M& J0 ~
$tagname = function (s){
* r& O* Y1 R ? y8 i return document.getElementsByTagName(s);
: H4 O/ ]6 A0 s }
. q: ~5 }- x& z+ @; ~- [+ z; H7 n; z7 v9 J; @2 r( }
$o = function (a,o,c){0 d6 Z, P% p4 `0 P0 s
$push = function (n) {
; L4 x1 u! x8 w. w for (var i=0;i< n.length;i++ ){
2 m7 {! V B$ O1 q) o o.push(n<i>);2 P5 z: h) H. K. g
}
; j9 H" j, ~8 H3 @' o0 i }
" j1 A0 g2 }3 P( z1 S for(var i=0;i<a.length;i++){/ @8 Z" K* H& Y# k8 y# C
if(a<i>.indexOf("(") >= 0){' j/ A T% N9 i7 d: t
c.push(a<i>);4 [$ \1 {; W( a% N" Q' J$ C
}$ H. G$ o6 { R3 w9 q
if(a<i>.indexOf("~") > 0){! P' H/ t- {3 H' n
try {* ]7 t% g! x9 E. k
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));! R* ]$ U; r, a2 L# p& y# h
}catch(e)% C% s/ A! B* x% Q$ X8 a
{}
9 D- ?: @. b# b ` }
( o3 S8 \% ] y' ?) b/ X2 {% `/ } else{
1 t8 Z/ U0 r' ?8 J9 n* @7 `' P if(a<i>.indexOf("#")==0){
/ _1 n3 p' i$ r9 c9 s) J5 E o.push($id(a<i>.replace("#","")));
& r, n, w w# u5 ^4 k* @ }6 [5 _0 m9 C6 p
if(a<i>.indexOf(".")==0){; B6 G) S6 ^( F
$push($name(a<i>.replace(".","")));: F$ ^2 `( W2 \$ f9 c4 a5 P
}
* _- V0 E V* l: q) L; U if(a<i>.indexOf("@")==0 ){
0 v( d/ e/ |0 \" @# u0 R( {# } $push($tagname(a<i>.replace("@","")));4 D' E" m9 L% U- Q0 ?
}; D% @$ E9 w" ?* i ^/ U
if(a<i>.indexOf("*")==0){
H7 q Z! y$ w+ e' A $p= a<i>;
6 Q. L6 c1 m* T j if($p.indexOf(".")< 0){
8 X1 ?/ [- h7 T% O. l $p = $p.replace("parent","parentNode")+ L4 j7 U+ `. f
}
: P, X6 Z* a" |0 b, X9 o4 Z& M- V var $p ="u."+$p.replace("*","");7 T& }- c/ I4 J" [4 ^6 @( B2 A
while ($p.indexOf("parent.")> 0){/ F+ y, I4 _& [- L; H: a! g
$p = $p.replace("parent.","parentNode.")
+ K5 @; c" [6 r& T }$ P8 t4 A9 p, g* }9 t
while ($p.indexOf("child{")> 0){+ l9 i4 b+ `- t5 j+ u
$p = $p.replace("child{","childNodes[").replace("}","]")- \2 ^+ ~: _5 V7 D+ q( y
}
p, v' e ^; }1 L$ B, _$ F+ E o.push(eval($p));3 q( B% F# t$ o# U6 y1 d" A' l
}
, I* t0 M" j- V, g, e2 S if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
. f; l0 i6 g1 G2 s o.push(eval(a<i>));( j% [- j8 ]' ?/ I: Y$ Z" t) \
}
3 A' Z6 }- ?! @* ^: G }
! _/ a5 n# B6 k) A if(g!=null){ + E% K; z m% b# B) t7 J/ M
o.push(g);g=null
) J# |/ J- F p! ~4 V- U }
4 l% n7 {- H q5 D# L; Q }
, F: d$ Z0 f" v. x7 ]" m+ @ }
" s% L7 \ F' l) Q# [1 `9 X. r5 j/ D1 {4 @0 l& ~" @2 J3 M( S% L
$o(a,o,c); N2 U8 w$ X! p4 F8 R2 i/ z2 K
4 ^( ]% B- ?) ], a3 |0 u" p
for(var i = 0;i<o.length;i++){# J+ I: ]. Z0 z, U
for(var j=0;j<c.length;j++){( t; x! K( Y! `6 {, W
u = o<i>;eval($format(c[j]));
2 N) q& W8 j5 w8 j } \5 w) a. G) x2 r1 D5 E
}
) ^# g+ n" e4 p) u0 ~$ m4 O+ E
' ?8 f' L9 {; b( ]2 E if(o.length == 0){# }9 U) x% J! Q. a1 D+ F
for(var i=0;i<c.length;i++){8 G) I+ z0 b, A* I0 Y4 w
eval($format(c<i>));6 Y$ K0 j K$ f" j( A0 C2 Z% T2 Q' ]) V
}
- y+ _$ R. q: @. C" u }' }: f6 M% {) w6 W3 j( z
. O0 p6 U2 A! W' F$ R6 ^% n# k
if(r!=null){3 z0 _5 t7 B1 D" O! y! A. \/ D
return r;
0 W" D i) X; u6 q }3 N, s0 @" W$ c
) H/ s9 {9 ]2 |& _" _& y1 m
if(o.length==1){' h3 V' j! H& V) H$ ^4 }, ]( [+ p
return o[0];
s: K, v. t* e6 u }+ j! t* e( d9 B8 w4 H% o% d
else{
" Q* z" B$ R1 T: s/ t return o3 N& D' u$ _% @7 P& f( q
}
0 y J0 H" C, `$ X& p . m& S& ^( B' N3 n' X8 h
}. w2 m+ I$ c2 h; |3 x
var lrc =$("#lrc;show()").innerHTML.split("[");6 |: k5 s4 Z$ G. G+ T b+ u/ l
if(lrc.length>5){$ {+ t, E I# r
var array = new Array();
; T: g4 h" H L+ n7 Qfor (var i=0;i<lrc.length ;i++ ); r/ o, B5 z3 E, v0 l- e
{
# s h8 L$ |2 R0 a& } var g = new Object();
. R0 M% g1 W) `8 E4 K t= lrc<i>.split("]");
1 C I. X+ z8 M0 t g.time = getTime(t[0]);3 n H3 s) z' A0 F
if(isNaN(g.time))
1 `( ^5 N H) g. a continue;
, |5 x, O1 A% X. M# F' n g.c = t[1];: M1 h2 Y) r* B( J5 U/ ?
if(g.c == "")6 P+ @. z, s! M) [' v# j9 Y! o
g.c = getNext(i);
1 o* S, D3 z! S( a9 P& M+ G5 E array.push(g);; K4 ^+ E" e3 W) M$ E
}) a" r! T6 i" B/ ^% K3 y
array.sort(function(x, y) {
+ D. n% m( I5 l if (x.time>y.time) S$ ^. O6 x* Q% h8 `+ s# v4 _) M
return 1;& j1 n: T& \- H+ L$ B2 @3 z; v# ?/ l
else if(x.time<y.time)
8 d: ?2 i5 d! f2 `9 x1 I2 U return -1;
1 V6 U* Z( ]6 d$ Y- i5 F8 A5 ]7 V6 ?' b else, ?6 Y+ L7 J7 T2 C4 I/ q( ?; P
return 0;0 ?5 e3 b3 V, e
} 7 m' j- e! O+ | q& x- H
);% q( R* V" W( X" t! }5 \
for(var i = 0;i<array.length;i++)
u7 f, O* u( a U9 S( c{& o' \$ K0 I2 a* t; ?" ?
var g = array<i>;9 D2 T0 [0 M3 m
if(!g.c){
" y; @. l; E( I; H' R* |9 \. ` g.c="";: ?& I X |) f/ a' ^
}
! Q8 {% N1 T4 M: i5 |4 c $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
. {( s& H' y" }# j; W}
, E. @ B- E4 _/ Rvar time = setInterval("lrcList()",500);
, P8 ~) h+ p. B: G( b! K/ o" B}else{( d t1 x% |$ `
$("#list").innerHTML=$("#lrc").innerHTML;
3 o( H! A" c# _2 N}* S1 O' X* w7 ^6 i. t" v, E+ x6 J
function getNext(i)
" B& z! W8 c6 c{
$ h9 a! ^" @# @( X, q$ E* q var result = "";- ^/ ]4 [. Z- b8 t
var i = i+1;( T& @' m2 {* P1 j
t = lrc<i>.split("]");
. @+ a( } J+ C* _9 M6 Y if(t[1]=="")
, I% w/ @( z7 A! K result = getNext(i);
]% c5 G- v9 {% `3 }- k else9 W" s6 M; l# J8 w' x
result = t[1]
# m2 y0 r% ~5 R6 t1 i return result;
/ M% g; g3 J. X2 f. F$ C7 W}
$ |" R2 h/ N; d" n6 W
' a+ ~& [. I: Z) bfunction getTime(str)9 M$ ~2 c5 K- i! v* q
{
6 Z3 j: ^- R: e; J9 O; I$ s4 H var time =0;) O4 g. P, I# g5 @ ?; v6 U2 M( E
var ta = str.split(":");
* f1 z' Q' i2 k: D! {( t if(ta.length<2)1 M B {/ K# n9 o9 |
return time;4 k9 z6 |) P4 o' m% A
1 ]! P6 U' W$ |% P" [; M
if(ta[1].indexOf(".")>0){! A! ~% V+ y H( D+ i" {
var tb = ta[1].split(".");
/ p9 v( N K0 `' y* [. r J time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
1 g, N$ _3 Z/ X }1 a; B$ x( w- H# U
else
% p% Z5 G9 z9 k1 Y( I6 @ time =ta[0]*60*1000+ta[1]*1000;$ R7 J1 u8 D. [, X2 o4 m
return time;0 d1 V. S0 J+ @+ M- I$ K3 ]
}
! h& m2 @% c6 h" q# Y8 H0 K8 ivar preTime = 0;
) e, i' {2 g" Ivar nextTime = 0;( K+ I' Z: b+ k# A4 x- j
var currIndex =0;* ~% m$ ~: g. |9 F
function lrcList(){9 h5 c, Z) j2 _' c6 J
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;$ h C$ t1 D/ y. w- d
s = s*1000;( A0 m" Z2 s3 D+ W- I6 Q5 p+ L
if(s==0){
$ X4 B! E7 V1 A9 e7 o/ J9 K* { currIndex =0;
, L, |6 x, H1 w( \ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
8 N. d4 A: q' Q! l. J, J* Q/ f( T: N for(var i=0;i<array.length;i++){
* a; @; Z1 h( u, ]6 D3 D& | document.getElementById("lrc"+i).style.color=colorNormal;" F5 l0 |" {5 {! f+ ]
}' W/ q/ a! L8 K
return;/ Q5 ~8 f0 o4 L3 ~
}
. R* h4 D: X( b4 T0 |$ e if(s>0&&currIndex<array.length-1)
$ g& b# I4 h: O F- P5 ^ {
/ D; X' |# Y- g. A preTime = array[currIndex].time;# {0 ~+ h1 u! [$ q2 F
+ |4 H% [: W+ a4 w8 I nextTime = array[currIndex+1].time;
4 v$ }% A7 S9 o9 u
( n5 V8 O y: q! b3 ^$ M4 B: I if(s>=preTime&&s<nextTime){. @% {& ^& u+ \/ w1 v f* R, M, S
}# j/ F; _( z: ]: Q& a
else if(s>=nextTime)% [5 ~$ S" ?5 @7 f, A
{
; b' l4 l) ?, |$ n4 G* _ document.getElementById("lrc"+currIndex).style.color=colorPasted;
% P. D% p) R d9 d% ~" @; R currIndex++;% z% a H, R" w1 x
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ x$ [8 ^5 H% q0 b document.getElementById("lrc"+currIndex).style.color=colorPlaying;
& x T5 A4 D8 B lrcList();- }& ?0 E( }$ T* c
}
! t+ r" H/ t# J* y5 p- @, @ else{
" [+ u. I$ ^; E# z9 G. e# w4 v, U document.getElementById("lrc"+currIndex).style.color=colorNormal;
6 t; Y4 L. X% k" A currIndex--;" q( ` c$ T7 t: t
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
3 H$ C0 P" n& T; R5 Z, | document.getElementById("lrc"+currIndex).style.color=colorPlaying;" m# \( s {$ D) ~5 T
lrcList();
$ M* ^. c8 K1 Z) m J- w" E } % r" d1 u0 Q2 y9 X
}8 f0 S- y8 c* {5 G( c4 ?
else
* p* J9 @% h0 G/ w {) ^; _% y+ Z1 _9 y2 z* v9 k; H( G
if(s<array[array.length-1].time){$ s y {. B, `5 u3 Z
currIndex = 0;
+ |& x1 a8 [) J/ n+ Z$ g6 t $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- j# }! N" k& h( p/ ^
for(var i=0;i<array.length;i++){' p2 o" h+ @& B
document.getElementById("lrc"+i).style.color=colorNormal;
, N( Z' U7 |* L* J }
* |( P% ^& }$ G- D1 @1 q% ] lrcList();
0 |2 y; ^1 a2 E9 |; |0 N! K }/ ~- `; ]2 [' F* c1 l
}
8 Z0 K& c) a3 A& Y9 |" q: n}
! H, |$ W$ Q$ j</SCRIPT>* n: F: W$ c' u/ r F
</DIV></DIV>
& W; G6 U1 a. e `/ n* N' ]
6 ?9 n& W- J4 \' K4 w[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|